package com.midian.model.activity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.midian.model.common.BaseModel;

import org.hibernate.annotations.Type;

import com.vividsolutions.jts.geom.Point;

/**
 * 活动用户（报名）
 * 
 */
@Entity
@Table(name = "activity_user")
public class ActivityUser extends BaseModel {
	/**订单号*/
	private String orderSn;
	/**活动id*/
	private String activityId;
	/**封面图片id*/
	private String coverPicId;
	/**活动标题*/
	private String title;
	/**活动开始时间*/
	private Date beginTime;
	/**参加活动的用户id*/
	private String joinUserId;
	/**大人数量*/
	private Integer adultCount;
	/**小孩数量*/
	private Integer childCount;
	/**大人价格*/
	private Double adultPrice;
	/**小孩价格*/
	private Double childPrice;
	/**联系人姓名*/
	private String contactPerson;
	/**联系人号码*/
	private String contactNum;
	/**报名状态：1，报名成功（已付款）；2，未付款*/
	private Integer joinState;
	/**支付方式：weixin，微信支付；alipay，支付宝支付*/
	private String payWay;
	private String remark;
	
	private Integer isPayCallback;
	
	private Double payedMoney ;

	public String getOrderSn() {
		return orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	public String getCoverPicId() {
		return coverPicId;
	}

	public void setCoverPicId(String coverPicId) {
		this.coverPicId = coverPicId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public String getJoinUserId() {
		return joinUserId;
	}

	public void setJoinUserId(String joinUserId) {
		this.joinUserId = joinUserId;
	}

	public Integer getAdultCount() {
		return adultCount;
	}

	public void setAdultCount(Integer adultCount) {
		this.adultCount = adultCount;
	}

	public Integer getChildCount() {
		return childCount;
	}

	public void setChildCount(Integer childCount) {
		this.childCount = childCount;
	}

	public Double getAdultPrice() {
		return adultPrice;
	}

	public void setAdultPrice(Double adultPrice) {
		this.adultPrice = adultPrice;
	}

	public Double getChildPrice() {
		return childPrice;
	}

	public void setChildPrice(Double childPrice) {
		this.childPrice = childPrice;
	}

	public String getContactPerson() {
		return contactPerson;
	}

	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	public String getContactNum() {
		return contactNum;
	}

	public void setContactNum(String contactNum) {
		this.contactNum = contactNum;
	}

	public Integer getJoinState() {
		return joinState;
	}

	public void setJoinState(Integer joinState) {
		this.joinState = joinState;
	}

	public String getPayWay() {
		return payWay;
	}

	public void setPayWay(String payWay) {
		this.payWay = payWay;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsPayCallback() {
		return isPayCallback;
	}

	public void setIsPayCallback(Integer isPayCallback) {
		this.isPayCallback = isPayCallback;
	}

	public Double getPayedMoney() {
		return payedMoney;
	}

	public void setPayedMoney(Double payedMoney) {
		this.payedMoney = payedMoney;
	}
	
	
	
}
